package com.coderman.infosys.auth.domain.enums.errors;

import com.coderman.infosys.plat.auth.common.error.IError;

/**
 * Description:按钮错误码列表-->这里其实可以算是值对象了
 * date: 2022/1/8
 *
 * @author shenshuai
 * @version 1.0.0
 * @since JDK 1.8
 */
public enum MenuErrorEnum  implements IError {
    MENU_NOT_FUND("W30000001","找不到对应菜单,menuCode = [{0}]"),

    ;
    private  String errorCode;

    private String errorMsg;

    MenuErrorEnum(String errorCode,String errorMsg){
        this.errorCode = errorCode;
        this.errorMsg = errorMsg;
    }
    @Override
    public String getErrorCode() {
        return this.errorCode;
    }

    @Override
    public String getErrorMsg() {
        return this.errorMsg;
    }
}
